package com.yiyibook.mapper;

import com.yiyibook.entity.ShoppingCar;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface ShoppingCarMapper {
    int deleteByPrimaryKey(Integer shopCarId);

    int insert(ShoppingCar record);

    int insertSelective(ShoppingCar record);

    ShoppingCar selectByPrimaryKey(Integer shopCarId);

    int updateByPrimaryKeySelective(ShoppingCar record);

    int updateByPrimaryKey(ShoppingCar record);

    ShoppingCar selectById(ShoppingCar shoppingCar);

    ShoppingCar selectByMemberId(Integer memberId);
}